package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * SysYjgKc对象 yjg_kc
 * 
 * @author SYF
 * @date 2025-04-30
 */
public class SysYjgKc extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    @Excel(name = "数据年份")
    private String year;

    /** 助记码 */
    @Excel(name = "助记码")
    private String code;

    /** $column.columnComment */
    @Excel(name = "库存量")
    private Long inventory;

    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }

    public void setInventory(Long inventory) 
    {
        this.inventory = inventory;
    }

    public Long getInventory() 
    {
        return inventory;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("code", getCode())
            .append("inventory", getInventory())
            .append("year", getYear())
            .toString();
    }
}
